﻿@model KacincisinProject.ViewModels.KurumViewModels
@{
    ViewBag.Title = "KurumOlustur";
}
<br>
<h2>KurumOlustur</h2>
@using (Html.BeginForm("KurumOlustur", "Kurum", FormMethod.Post, new { @class = "form-horizontal" }))
{
    
    
      
    <div class="control-group">
        <label class="control-label" for="KurumTipi">Kurum Tipi:</label>
        <div class="controls">  
            @Html.DropDownListFor(model => model.KurumTipId, (SelectList)ViewBag.KurumTipleri, "Seçiniz") @Html.ValidationMessageFor(model => model.KurumTipId)
        </div>
    </div>
    
     <div class="control-group">
        <label class="control-label" for="Sehir">Şehir:</label>
        <div class="controls">  
           @Html.DropDownListFor(model => model.SehirId, (SelectList)ViewBag.Sehirler, "Seçiniz") @Html.ValidationMessageFor(model => model.SehirId)
        </div>
    </div>
    
      
    <div class="control-group">
        <label class="control-label" for="KurumAdi">Kurum Adı:</label>
        <div class="controls">  
            @Html.TextBoxFor(model=>model.KurumAdi) @Html.ValidationMessageFor(model=>model.KurumAdi)
        </div>
    </div>
    
       
        <div class="control-group">
            <div class="controls">
                <button type="submit" class="btn">Sign in</button>
            </div>
        </div>
    
}
